package com.ruibo.modules.quartz.task;

import com.ruibo.tax.service.*;
import lombok.extern.slf4j.Slf4j;
import org.omg.CORBA.PRIVATE_MEMBER;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 根据对账回执信息重新发送数据
 */
@Slf4j
@Component
public class ReSendHB2SWTask {


    //    实时对账
    @Autowired
    private TaxSendLogService taxSendLogService;

    // 排污许可汇总对账
    @Autowired
    private HBJHXKZJBXXService hbjhxkzjbxxService;

    @Autowired
    private HBJHHBCFService hbjhhbcfService;

    @Autowired
    private HBJHJCZDJCService hbjhjczdjcService;

    /**
     * 定时发送  未接收到回执   实时的消息
     */
    public void reSendHB2SWSS() {
        // 处理未发送的数据的逻辑
        taxSendLogService.processingUnsentData();
    }

    /**
     * 定时发送  未接收到回执   汇总的消息
     */
    public void reSendHB2SWHZ() {
        // 处理未发送的数据的逻辑
        hbjhxkzjbxxService.processingUnsentHZData();
        hbjhhbcfService.processingUnsentHZData();
        hbjhjczdjcService.processingUnsentHZData();
    }


}
